package com.neelsys.domain.visualization;

import java.util.HashSet;
import java.util.Set;

import org.springframework.data.neo4j.annotation.GraphId;
import org.springframework.data.neo4j.annotation.Indexed;
import org.springframework.data.neo4j.annotation.NodeEntity;
import org.springframework.data.neo4j.annotation.RelatedTo;

@NodeEntity
public class College {

	@GraphId Long nodeId;
    @Indexed(unique=true)
    String id;
    
    String collegeName;
    //Address?
    String collegeLocation;
    
    String ranking;
    
    @RelatedTo(elementClass = MajorCombination.class, type = "OFFERED_MAJORS")
    private Set<MajorCombination> offeredMajors=new HashSet<MajorCombination>();

    
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public String getCollegeName() {
		return collegeName;
	}
	public void setCollegeName(String collegeName) {
		this.collegeName = collegeName;
	}
	public String getCollegeLocation() {
		return collegeLocation;
	}
	public void setCollegeLocation(String collegeLocation) {
		this.collegeLocation = collegeLocation;
	}
	public String getRanking() {
		return ranking;
	}
	public void setRanking(String ranking) {
		this.ranking = ranking;
	}
	public Set<MajorCombination> getOfferedMajors() {
		return offeredMajors;
	}
	
	

}
